package com.weasel.weixin.commons.message.bean.initiative;

import org.codehaus.jackson.annotate.JsonProperty;

/**
 * Created by Dylan on 2015/10/19.
 */
public class VideoCustomInitiativeMessage extends AbstractCustomInitiativeMessage {


    @JsonProperty("video")
    private Video video;

    public VideoCustomInitiativeMessage() {
        super("video");
    }

    public Video getVideo() {
        return video;
    }

    public void setVideo(Video video) {
        this.video = video;
    }

    public static class Video{

        @JsonProperty("media_id")
        private String mediaId;  //发送的图片/语音/视频的媒体ID

        @JsonProperty("thumb_media_id")
        private String thumbMediaId;  //缩略图的媒体ID

        @JsonProperty("title")
        private String tile; //图文消息/视频消息/音乐消息的标题

        @JsonProperty("description")
        private String description;  //图文消息/视频消息/音乐消息的描述

        public String getMediaId() {
            return mediaId;
        }

        public void setMediaId(String mediaId) {
            this.mediaId = mediaId;
        }

        public String getThumbMediaId() {
            return thumbMediaId;
        }

        public void setThumbMediaId(String thumbMediaId) {
            this.thumbMediaId = thumbMediaId;
        }

        public String getTile() {
            return tile;
        }

        public void setTile(String tile) {
            this.tile = tile;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }
    }
}
